@import "./variable";
.list-layout {
  background: $white;
  box-shadow: 0px 4px 8px 0px rgba(0, 20, 45, 0.04);
  border-radius: 8px;
  padding: 16px;

  .title {
    font-size: 16px !important;
    font-weight: bold;
    color: $font-black-color;
    line-height: 40px;
    float: left;
    display: block !important;
    padding: 0 !important;
    border: none !important;
  }

  .btns {
    padding: 0;
    text-align: right;
    .ivu-btn-default{
      background: $white;
      border-radius: 4px;
      font-size: 14px;
      font-weight: 400;
      line-height: 40px;
      height: 40px;
      margin: 0 8px;
      padding-top: 0;
      padding-bottom: 0;
      &:last-child{
        margin-right: 0;
      }
      span{
        vertical-align: top;
      }
    }
  }

}

.tableContent {
  .ivu-table-wrapper{
    border:none;
  }
  // * {
  //   border-color: transparent;
  // }
  input,select,textarea{
    border: 1px solid #dcdee2;
    height: 29px;
  }
  input[type="checkbox"]{
    border: none !important;
    height: auto !important;
  }
  td {
    //background: transparent;
  }
  tr{
    &:hover{
      td{
        //background: red !important;
      }
    }
  }

  tr:nth-child(even) {
    td {
      background: rgba(249, 250, 251, 1);
    }
  }

  .ivu-checkbox-inner {

    border: 1px solid rgba(0, 20, 45, 0.2);
  }

  th {
    background: rgb(243,245,247);
    .ivu-table-cell {
      font-size: 14px;
      font-weight: 400;
      color: $font-black-color;
    }
  }

  td {
    .ivu-table-cell {
      font-size: 14px;
      font-weight: 400;
      color: rgba(0, 20, 45, 1);
    }
  }

  .ivu-table {
    &:after, &:before {
      display: none;
    }

    table {
      border: none;
    }

    th, td {
      border: none;
    }
  }

  .ivu-table-body {
    background: #ffffff;
    &::-webkit-scrollbar {
      width: 6px;
      height: 18px;
    }

    /*定义滚动条轨道 内阴影+圆角*/
    &::-webkit-scrollbar-track {
      background: rgba(0,20,45,0.1);
      border-radius: 8px 0px 0px 8px;
    }

    /*定义滑块 内阴影+圆角*/
    &::-webkit-scrollbar-thumb {
      border-radius: 5px;
      background: rgba(0,20,45,0.1);
    }
  }

  .ivu-table-cell-slot {
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    * {
      font-size: 14px;
      font-weight: 400;
      color: rgba(0, 20, 45, 1);
    }

    .operationBtn {
      margin-left: 0;
      margin-right: 24px;cursor: pointer;

      &:last-child {
        margin-right: 0;
      }

      &:hover {
        transition: all .3s linear;
        color: $font-black-hover-color;

        i {
          color: $font-black-hover-color;
        }
      }
    }
    .iconfont {
      padding-right: 8px;
      font-size: 16px;
    }
  }
  &.noStripe{
    tr:nth-child(even) {
      td {
        background: #fff;
      }
    }
  }
}
